package vn.bang.utility;

import java.io.File;

public final class FileUtil {
	static public String getProjectPath() {
		return new File("").getAbsolutePath() + "\\";
	}
	
	static public String getRelativePathFromProjectPath(String relative) {
		String projectPath = getProjectPath();
		return projectPath.concat(relative);
	}
	
	static public boolean exists(String filepath) {
		File file = new File(filepath);
		return file.exists();
	}
	
	private FileUtil() {}
}
